package com.lh.java.javamail;

public class TestDot {
	public  static  void test(int... a){
		System.out.println("HELLO   "+a.length);
		
		  for(int i=0;i<a.length;i++){
			  
		System.out.println(a[i]);
		   }
		}
	public  static  void test(){
		System.out.println("HELLO  i am is void args  ");
		
		}
	public  static  void test2(int [] a){
		System.out.println("HELLO  i am is array args  ");
		
		}

	
	
	/**
	 * @param args
	 * @Author: 李恒
	 */
	public static void main(String[] args) {
		//test2(1,2);
		test();
		test(5);
		test(15,25,35);
		int []b ={1,2,3,4,5,6,7};
		test(b);
		

	}

}
